(x_set_cursor_type): If arg not recognized, use box cursor.
authorRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1993 20:33:32 +0000 (20:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 26 May 1993 20:33:32 +0000 (20:33 +0000)
src/xfns.c

index 1d08900079a4cb1b6e494c1adbd2c6d190064da9..b073b9161c2a4a9b3c8ee283c512e5341012d1a9 100644 (file)
@@ -758,11 +758,18 @@ x_set_cursor_type (f, arg, oldval)
 {
   if (EQ (arg, Qbar))
     FRAME_DESIRED_CURSOR (f) = bar_cursor;
-  else if (EQ (arg, Qbox))
-    FRAME_DESIRED_CURSOR (f) = filled_box_cursor;
+  else
+#if 0
+    if (EQ (arg, Qbox))
+#endif
+      FRAME_DESIRED_CURSOR (f) = filled_box_cursor;
+  /* Error messages commented out because people have trouble fixing
+     .Xdefaults with Emacs, when it has something bad in it.  */
+#if 0
   else
     error
       ("the `cursor-type' frame parameter should be either `bar' or `box'");
+#endif
 
   /* Make sure the cursor gets redrawn.  This is overkill, but how
      often do people change cursor types?  */